عندما تقوم بمقارنة النصوص string في السي شارب فإن عملية المقارنة تكون حساسة لحالة الاحرف حتى وان كنت تقوم بمقارنة متغيرين لهما نفس الكلمة مع اختلاف في حالة الحروف سوف تكون نتيجة المقارنة false
مثلاً
string a="abc"; string b="ABC";
if(a==b) print("true");
else print("false");
حتى لو استخدمت الطريقة التالية للمقارنة if(a.Equals(b))
في كلا الطريقتين لن يتحقق الشرط وسيطبع false
لاكن اذا اردت المقارنة بغض النظر عن حالة الاحرف نستخدم معداد StringComparison
عندما تقوم بمقارنة النصوص string في السي شارب فإن عملية المقارنة تكون حساسة لحالة الاحرف حتى وان كنت تقوم بمقارنة متغيرين لهما نفس الكلمة مع اختلاف في حالة الحروف سوف تكون نتيجة المقارنة false
مثلاً
string a="abc"; string b="ABC";
if(a==b) print("true");
else print("false");
حتى لو استخدمت الطريقة التالية للمقارنة if(a.Equals(b))
في كلا الطريقتين لن يتحقق الشرط وسيطبع false
لاكن اذا اردت المقارنة بغض النظر عن حالة الاحرف نستخدم معداد StringComparison
Telegram has no known backdoors and, even though it is come in for criticism for using proprietary encryption methods instead of open-source ones, those have yet to be compromised. While no messaging app can guarantee a 100% impermeable defense against determined attackers, Telegram is vulnerabilities are few and either theoretical or based on spoof files fooling users into actively enabling an attack.
A project of our size needs at least a few hundred million dollars per year to keep going,” Mr. Durov wrote in his public channel on Telegram late last year. “While doing that, we will remain independent and stay true to our values, redefining how a tech company should operate.